package com.qtong.entity.cinemas;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Map;

@Document(collection = "cinemas")
public class Cinemas {
    private String id;
    private String cinemaId;
    private String name;
    private String address;
    private String contact;
    private Region region;
    private Map<String, Object> location; // GeoJSON or { type: 'Point', coordinates: [lng,lat] }

    public Cinemas() {}
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getCinemaId() { return cinemaId; }
    public void setCinemaId(String cinemaId) { this.cinemaId = cinemaId; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getAddress() { return address; }
    public void setAddress(String address) { this.address = address; }
    public String getContact() { return contact; }
    public void setContact(String contact) { this.contact = contact; }
    public Region getRegion() { return region; }
    public void setRegion(Region region) { this.region = region; }
    public Map<String, Object> getLocation() { return location; }
    public void setLocation(Map<String, Object> location) { this.location = location; }
}
